#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
#include<assert.h>
#include<math.h>

typedef struct operand
{
	int coe;
	int exp;
	struct operand* next;
}oper;

void creatploynomial(oper*P);
void readoperands(oper* P,int input);
void swapoperands(oper* s, oper* l);
void sortpolynomial(oper* P );
int addoperands(oper* P,int x);
void printsummation(oper* P);

